﻿
using System.Diagnostics;

namespace Labthink.PCSoft.UniversalHost4.Model.User
{
    /// <summary>
    /// 用户权限
    /// </summary>
    [DebuggerDisplay("Id={Id,nq}: {Code,nq},Type={Type,nq},Pid={Pid,nq}")] //nq:No Quote 去掉最终显示的引号

    public class UserPermission
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 权限编号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 权限类型
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 上级权限Id
        /// </summary>
        public string Pid { get; set; }
    }
}
